import java.util.ArrayList;
import java.util.List;

public class DataNode2
{
    private List<Double> mAttribList;
    private int type;

    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public double[] getAttribList()
    {
        double[] att = new double[40];
        for(int i=0;i<att.length;i++){
            att[i] = mAttribList.get(i);
        }
        return att;
    }

    public void addAttrib(Double value)
    {
        mAttribList.add(value);
    }

    public DataNode2()
    {
        mAttribList = new ArrayList<Double>();
    }

}
